<%@ include file="/common/taglibs.jsp"%>

<head>
    <title><fmt:message key="dataDictionaryList.title"/></title>
    <meta name="heading" content="<fmt:message key='dataDictionaryList.heading'/>"/>
    <meta name="menu" content="AdminMenu"/>
</head>

<input type="button" style="margin-right: 5px" class="button" onclick="location.href='<c:url value="editDataDictionary"/>'" value="<fmt:message key="button.add"/>"/>
<input type="button" class="button" onclick="location.href='<c:url value="/mainMenu"/>'" value="<fmt:message key="button.done"/>"/>

<display:table name="dataDictionaries" defaultsort="2" defaultorder="ascending" class="table" requestURI="" id="dataDictionaryList" export="true" pagesize="25">

    <display:column property="id" href="editDataDictionary" media="html"
        paramId="id" paramProperty="id" titleKey="dataDictionary.id"/>
    <display:column property="id" media="csv excel xml pdf" titleKey="dataDictionary.id"/>
   	<display:column property="module" group="1" sortable="true" titleKey="dataDictionary.module"/>
   	<display:column property="moduleName" group="2" sortable="true" titleKey="dataDictionary.moduleName"/>
   	<display:column property="description" sortable="true" titleKey="dataDictionary.description"/>
   	<display:column property="remark" sortable="true" titleKey="dataDictionary.remark"/>
    <display:column property="modifyTime" sortable="true" titleKey="dataDictionary.modifyTime"/>

    <display:setProperty name="paging.banner.item_name"><fmt:message key="dataDictionaryList.dataDictionaries"/></display:setProperty>
    <display:setProperty name="paging.banner.items_name"><fmt:message key="dataDictionaryList.dataDictionaries"/></display:setProperty>

    <display:setProperty name="export.excel.filename"><fmt:message key="dataDictionaryList.title"/>.xls</display:setProperty>
    <display:setProperty name="export.csv.filename"><fmt:message key="dataDictionaryList.title"/>.csv</display:setProperty>
    <display:setProperty name="export.pdf.filename"><fmt:message key="dataDictionaryList.title"/>.pdf</display:setProperty>
</display:table>


<input type="button" style="margin-right: 5px" class="button" onclick="location.href='<c:url value="editDataDictionary"/>'" value="<fmt:message key="button.add"/>"/>
<input type="button" class="button" onclick="location.href='<c:url value="/mainMenu"/>'" value="<fmt:message key="button.done"/>"/>

<script type="text/javascript">
    highlightTableRows("dataDictionaryList");
</script>